<?php
class model__model_model extends database_mysql
{
    public function __construct()
    {
        parent::__construct();
        
    }
    
    public function md_cm_get_list_com($app){
        $sql = "
                SELECT *
                FROM
                ".prefix."categories
                WHERE
                ".prefix."categories.Define = 'com' AND
                ".prefix."categories.App = '$app'
        ";
        $rs = parent::mysql_fetch_all_rows($sql);
        return $rs;
    }
}
